<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>阅读短信</title>
</head>
<body>
	<table>
		<tr>
			<td>阅读短信</td>
			<td>当前用户：${g.loginName }</td>
			<td><a href="Back.jsp">发送短信</a></td>
			<td><a href="Login.jsp">退出登录</a></td>
		</tr>
		<tr>
			<td><c:forEach var="c" items="${c}">
					<span>题目：${c.title}</span>
					<span>来自：${c.sendto}</span>
					<span>时间：${c.msgtime}</span>
				</c:forEach></td>
		</tr>
		<tr>
			<td><textarea name="textarea" cols="100" rows="10"
					style="font-size: 20px;" id="oo">
				
				<c:forEach var="c" items="${c}">
	             ${c.msgcontrnt}
			    </c:forEach> 
		</textarea></td>
		</tr>
	</table>

</body>
</html>